package com.aerotechnic.service.implementation;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.aerotechnic.dao.implementation.OutillageDao;
import com.aerotechnic.entities.Outillage;
import com.aerotechnic.service.interfaces.OutillageBoIn;

@Service("OutillageBo")
@Transactional
public class OutillageBo implements OutillageBoIn {
	
	@Autowired
	private OutillageDao outillageDao;

	@Override
	public void save(Outillage myEntity) {
		// TODO Auto-generated method stub
		outillageDao.save(myEntity);
		
	}

	@Override
	public void update(Outillage myEntity) {
		// TODO Auto-generated method stub
		outillageDao.update(myEntity);
	}

	@Override
	public void delete(int id) {
		// TODO Auto-generated method stub
		outillageDao.delete(id);
	}

	@Override
	public Outillage findByID(int id) {
		// TODO Auto-generated method stub
		return outillageDao.findByID(id);
	}

	@Override
	public List<Outillage> findAll() {
		// TODO Auto-generated method stub
		return null;
	}

}
